package io.renren.modules.generator.dao;

import io.renren.modules.generator.entity.ResumeEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 简历库; InnoDB free: 10240 kB
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-07-18 14:25:33
 */
@Mapper
public interface ResumeDao extends BaseMapper<ResumeEntity> {
    List myList(@Param("hrid") Long hrid,@Param("resExpectedOccupation") String resExpectedOccupation,@Param("myResState") Long myResState);
    List getByResId(@Param("resId")Long resId,@Param("hrId")Long hrId);
    int updateResShare(@Param("resId")Long resId,@Param("resShare")Long resShare);
}
